package com.zzyy.study.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @auther zzyy
 * @create 2024-01-07 15:40
 */
@RestController
@Slf4j
public class AuthorizeController
{
    @GetMapping(value = "/authorize")
    public String requestAuthorize()
    {
        log.info("测试Sentinel授权规则requestAuthorize,success访问成功");

        return "Sentinel授权规则,含黑白名单配置，测试Sentinel授权规则requestAuthorize,success访问成功";
    }
}
